package com.xzl.xep.service;

import java.util.List;

import com.xzl.xep.pojo.Customer;
import com.xzl.xep.pojo.Operator;

public interface CustomerService extends BaseService {

	List<Customer> getCustomers(Long companyId);

	Double getTotalSpend(Long companyId);

	Double getTotalCredit(Long companyId);

	Customer addCustomer(Customer customer, Integer way, Operator operator);

	boolean checkCustomerExists(Customer customer);

	Integer getTotalPlus(Long companyId);

	List<Customer> queryMobile(Long companyId, String mobile);

	List<Customer> queryCardno(Long companyId, String term);

	void credit(Operator operator, Long customerId, Integer way,
			Double money);

}
